Skip to content

Route single-number questions to custom SQL; benchmark the no-data case - #9

Merged
CodexManvik merged 1 commit into
mainfrom
eval-tuning
Nov 8, 2026
Merged

CodexManvik merged 1 commit into
mainfrom
eval-tuning

Conversation

@CodexManvik

Copy link
Copy Markdown
Owner

Follow-up to #8, based on the first live benchmark run, which scored 28/30 (routing 97%, filters 100%, answer checks 97%, median latency 2.6 s, all 30 questions understood by the LLM router).

The two failures:

  • count-arabian was a real routing mistake. The LLM sent "How many profiles were recorded in the Arabian Sea?" to the per-float summary table instead of writing a single-count query. The router's intent descriptions now say that a single number (count, total, maximum, minimum) needs custom SQL, and that float_summary means one row per float.
  • find-red-sea was a problem with the benchmark, not with FloatChat. The live dataset has no Red Sea & Gulf of Aden profiles. FloatChat applied the filter, found nothing, and said so before showing the closest matches. The case is now no-data-red-sea and expects that honest answer; a new no_match expectation checks that the answer doesn't present other profiles as matches.

After merge and redeploy I'll re-run the benchmark and record the score in the README in a separate small PR.

171 tests pass locally and lint is clean.

🤖 Generated with Claude Code

The first live benchmark scored 28/30. The LLM router sent "How many profiles
were recorded in the Arabian Sea?" to the per-float summary table, so the
intent descriptions now say that counts, totals, maxima and minima need their
own SQL. The Red Sea question failed only because the live data has no Red
Sea profiles; FloatChat correctly said so. The case now expects exactly that
honest "no profiles were recorded" answer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 8, 2026 18:00
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6c46c450-a9c1-413f-beb9-89e00ba53983
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@CodexManvik
CodexManvik merged commit 23c9459 into main Nov 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants